package functions {	import functions.FunctionNode;	/**	 * @author pbalogh	 */	public class TanFunctionNode extends FunctionNode 	{		public function TanFunctionNode()		{			funcname = "tan";				functiontype = FUNCTION;		}				override public function getValue( args : XML, scope : Object ) : XML		{						var returnXML : XML;						var returnValue : Number = 0;						returnValue = Math.tan( Evaluator.getLiteral(Evaluator.evaluate(args.children()[ 0 ], scope)));										returnXML = <numberliteral>{returnValue}</numberliteral>;			trace("tan will return " + returnValue );						return returnXML;		}	}}